package com.ucode.crm.mode;

import java.util.Date;

import com.ucode.tool.base.BaseMode;
/**
 * 客户
 * @author: liliang
 * @date: 2019年12月10日 下午2:15:43
 */
@SuppressWarnings("serial")
public class Customer extends BaseMode<Long>{

    /**
     * 客户名称
     */
    private String name;
    /**
     * 客户级别
     * 客户级别:1.S类,2.A类3.B类4.C类5.D类
     */
    private Integer level;
    /**
     * 客户来源
     * 1.促销活动 2.搜索引擎 3.广告 4.转介绍 5.线上注册 6.线上询价 7.预约上门 8.陌拜 9.电话咨询 10.电销 100其他
     */
    private Integer source;
    /**
     * 客户行业
     * 1.互联网IT 2.金融业 3.地产/建筑业 4.服务业 5.运输/物流 6.生产制造业 7.国家党政机关 8.文化传媒业 9.生物医药业10.能源材料业 100.其他
     */
    private Integer industry;
    /**
     * 跟进次数
     */
    private Integer followCount;
    /**
     * 成交次数
     */
    private Integer dealCount;
    /**
     * 商机数量
     */
    private Integer businessCount;
    /**
     * 最后联系时间
     */
    private Date lastTime;
    /**
     * 下次联系时间
     */
    private Date nextTime;
    /**
     * 网址
     */
    private String website;
    /**
     * 客户备注
     */
    private String remark;
    /**
     * 省
     */
    private Integer provinceId;
    /**
     * 市
     */
    private Integer cityId;
    /**
     * 区
     */
    private Integer areaId;
    /**
     * 详细地址
     */
    private String address;
    /**
     * 锁定状态:0->解锁1->锁定
     */
    private Integer lockStatus;
    /**
     * 首要联系人手机号
     */
    private String mobile;
    /**
     * 首要联系人座机电话
     */
    private String telephone;
    /**
     * 首要联系人性别
     */
    private Integer sex;
    /**
     * 首要联系人生日
     */
    private Date birthday;
    /**
     * 首要联系人姓名
     */
    private String cname;
    /**
     * 首要联系人
     */
    private Long contactsId;
    /**
     * 创建人
     */
    private Long createUserId;
    /**
     * 销售负责人
     */
    private Long ownerUserId;
    /**
     * 销售协作人，多人之间用,隔开
     */
    private String collaborator;
    /**
     * 售后负责人
     */
    private Long saUserId;
    
    public Customer(){
        super();
    }

    public Customer(String name, Integer level, Integer source, Integer industry, Date nextTime, String website, String remark,
            Integer provinceId, Integer cityId, Integer areaId, String address, String mobile, String telephone, Integer sex,
            String cname,Date birthday, Long contactsId) {
        super();
        this.name = name;
        this.level = level;
        this.source = source;
        this.industry = industry;
        this.nextTime = nextTime;
        this.website = website;
        this.remark = remark;
        this.provinceId = provinceId;
        this.cityId = cityId;
        this.areaId = areaId;
        this.address = address;
        this.mobile = mobile;
        this.telephone = telephone;
        this.sex = sex;
        this.cname = cname;
        this.birthday = birthday;
        this.contactsId = contactsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getIndustry() {
        return industry;
    }

    public void setIndustry(Integer industry) {
        this.industry = industry;
    }

    public Integer getFollowCount() {
        return followCount;
    }

    public void setFollowCount(Integer followCount) {
        this.followCount = followCount;
    }

    public Integer getDealCount() {
        return dealCount;
    }

    public void setDealCount(Integer dealCount) {
        this.dealCount = dealCount;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public Date getNextTime() {
        return nextTime;
    }

    public void setNextTime(Date nextTime) {
        this.nextTime = nextTime;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    
    public Integer getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(Integer lockStatus) {
        this.lockStatus = lockStatus;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Integer getBusinessCount() {
        return businessCount;
    }

    public void setBusinessCount(Integer businessCount) {
        this.businessCount = businessCount;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Long getContactsId() {
        return contactsId;
    }

    public void setContactsId(Long contactsId) {
        this.contactsId = contactsId;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getOwnerUserId() {
        return ownerUserId;
    }

    public void setOwnerUserId(Long ownerUserId) {
        this.ownerUserId = ownerUserId;
    }

    public String getCollaborator() {
        return collaborator;
    }

    public void setCollaborator(String collaborator) {
        this.collaborator = collaborator;
    }

    public Long getSaUserId() {
        return saUserId;
    }

    public void setSaUserId(Long saUserId) {
        this.saUserId = saUserId;
    }
    
}
